<ul class="tabs tabs-inline tabs-top">
    <li class="active">
        <a href="#first" data-toggle="tab"><i class="icon-inbox"></i> Anime</a>
    </li>
    <?php if(!empty($anime['Anime']['observation'])):?>
    <li class="">
        <a href="#second" data-toggle="tab"><i class="icon-inbox"></i>Observação</a>
    </li>
    <?php endif; ?>
    <?php if(!empty($anime['Anime']['observation'])):?>
    <li class="">
        <a href="#third" data-toggle="tab"><i class="icon-inbox"></i>Resumo</a>
    </li>
    <?php endif; ?>
    <?php if(!empty($anime['Season'])): ?>
        <li class="">
            <a href="#fourth" data-toggle="tab"><i class="icon-inbox"></i>Temporadas / Arcos</a>
        </li>
    <?php endif;?>
</ul>
<div class="tab-content tab-content-inline tab-content-bottom">
    <div class="tab-pane active" id="first">
        <dd class='span3 nomargin'>
            <div class="thumbnail">
                <?php echo $this->Html->image('anime/photo/'.$anime['Anime']['id'].'/vga_'.h($anime['Anime']['photo']))?>
            </div>
        </dd>
        <span class="box-infor info-anime">
            <dt>
                <h4 class="name-header"><?php echo __($anime['Anime']['name']); ?></h4>
            </dt>
            <dt>
                <ul class="unstyled">
                    <?php foreach($anime['Genre'] as $genre):?>
                        <li class="badge badge-info"><?php echo $genre['name']?></li>
                    <?php endforeach;?>
                </ul>
            </dt>
            <dt>
                <?php echo $this->Function->Status($anime['Anime']['status'])?>
            </dt>
        </span>
    </div>
    <div class="tab-pane" id="second">
        <div class="text-informatio">
            <?php echo h($anime['Anime']['observation']); ?>

        </div>
    </div>
    <div class="tab-pane" id="third">
        <div class="text-informatio">
            <?php echo h($anime['Anime']['summary']); ?>
        </div>
    </div>
    <div class="tab-pane" id="fourth">
        <ul class="view-lista lista-season">
            <?php foreach($anime['Season'] as $season):?>
                <li>
                    <span class="text-info">
                        <?php echo '<strong>'.$season['name'].'</strong> - Assistido:&nbsp;'.$season['dow_episodes'].'&nbsp;/&nbsp;Total:&nbsp;'.$season['full_episodes']?>
                    </span>
                </li>
            <?php endforeach;?>
        </ul>
    </div>
</div>
